-
Notifications
You must be signed in to change notification settings - Fork 59
Conversation
@ZhongChaoqiang The CI failed at https://github.com/XiaoMi/rdsn/runs/6189338284?check_suite_focus=true#step:8:1807, plz check it. |
ok, I’m checking it
dsn_aio_test这个用例会core,debug信息如下:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--c
Core was generated by `./dsn_aio_test'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7fb4e6f12700 (LWP 27730))]
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007fb4eccdf859 in __GI_abort () at abort.c:79
#2 0x00007fb4ecd4a29e in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7fb4ece7408f "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#3 0x00007fb4ecdecaea in __GI___fortify_fail (msg=msg@entry=0x7fb4ece74077 "stack smashing detected")
at fortify_fail.c:26
#4 0x00007fb4ecdecab6 in __stack_chk_fail () at stack_chk_fail.c:24
#5 0x000055dd0c6ea2b7 in dsn::disk_engine::complete_io (
this=0x55dd0c79fbe8 <dsn::utils::singleton<dsn::disk_engine>::instance()::_instance>,
aio=aio@entry=0x55dd0ecfd600, err=..., bytes=12) at /usr/include/c++/9/bits/basic_string.h:2300
#6 0x000055dd0c6edadd in dsn::aio_provider::complete_io (this=this@entry=0x55dd0ec30040,
aio=aio@entry=0x55dd0ecfd600, err=..., err@entry=..., bytes=<optimized out>)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/aio/aio_provider.cpp:36
#7 0x000055dd0c6eb5f1 in dsn::native_linux_aio_provider::aio_internal (this=0x55dd0ec30040, aio_tsk=0x55dd0ecfd600)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/aio/native_linux_aio_provider.cpp:165
#8 0x000055dd0c66b49a in dsn::task::exec_internal (this=0x55dd0ecfac30)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/runtime/task/task.cpp:176
#9 0x000055dd0c68285e in dsn::task_worker::loop (this=0x55dd0ed02000)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/runtime/task/task_worker.cpp:224
#10 0x000055dd0c682a7f in dsn::task_worker::run_internal (this=0x55dd0ed02000)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/runtime/task/task_worker.cpp:204
#11 0x00007fb4ecfa0d84 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fb4ed2b0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007fb4ecddc163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) f 5
#5 0x000055dd0c6ea2b7 in dsn::disk_engine::complete_io (
this=0x55dd0c79fbe8 <dsn::utils::singleton<dsn::disk_engine>::instance()::_instance>,
aio=aio@entry=0x55dd0ecfd600, err=..., bytes=12) at /usr/include/c++/9/bits/basic_string.h:2300
2300 c_str() const _GLIBCXX_NOEXCEPT
(gdb) f 6
#6 0x000055dd0c6edadd in dsn::aio_provider::complete_io (this=this@entry=0x55dd0ec30040,
aio=aio@entry=0x55dd0ecfd600, err=..., err@entry=..., bytes=<optimized out>)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/aio/aio_provider.cpp:36
36 _engine->complete_io(aio, err, bytes);
(gdb) p err
$1 = <optimized out>
(gdb) f 7
#7 0x000055dd0c6eb5f1 in dsn::native_linux_aio_provider::aio_internal (this=0x55dd0ec30040, aio_tsk=0x55dd0ecfd600)
at /opt/zhongchaoqiang/incubator-pegasus/rdsn/src/aio/native_linux_aio_provider.cpp:165
165 complete_io(aio_tsk, err, processed_bytes);
(gdb) p err
$2 = {_internal_code = 0}
(gdb) p processed_bytes
$3 = 12
|
@ZhongChaoqiang |
Thanks very much |
Thanks for your contribution! |
|
Related-Issue
apache/incubator-pegasus#903
Change
when buffer of slog is more 2GB, then flush to slog file, it maybe crash.